﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/jsp/basic/taglibs.jsp" %>
<html>
<head>
<%@ include file="/WEB-INF/jsp/basic/head.jsp" %>
<script type="text/javascript" src="${ctxPath}/js/add.js"></script>
<script type="text/javascript" src="${ctxPath}/js/uploadify-v3.1/jquery.uploadify-3.1.js"></script>
<script type="text/javascript" src="${ctxPath}/js/uploadify-v3.1/customerupload.js"></script>
<script >
jQuery(document).ready(function() {
	var ctx = "${ctxPath}";
	//上传图片类设定
			createUploadify(ctx,$("#upload"), {
				'onUploadSuccess' : function(file,data,response) {//当文件上传成功后显示提示信息  
				
				//jQuery("#href_1").fancyZoom({scaleImg: true, closeOnClick: true,width:500});//加载图片放大功能
				jQuery("#image").attr("src", "${imagePath}"+data);
				jQuery("input[name='pic']").val(data);
			}
		});
	});
</script>
</head>
<body>
<jsp:include page="/WEB-INF/jsp/basic/navigation.jsp">
<jsp:param value="4" name="topItem" />
</jsp:include>
<div class="width1010 main divcenter posirela pdb20">
	<div class="curloc">
		<img src="images/clocicon.png"/><span>首页 / 会员修改 /</span>
	</div>
	<div class="width940 divcenter">

		<div>
			<div class="rstop widthall commontitle"><a class="tappage">基本资料</a></div>
			<form action="${ctxPath}/huiyuan_update.jsp"  method="post" id="huiyuanForm">
			<input type="hidden" name="id" value="${hy.id}"/>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">姓名:</span>
					<input type="text" class="qygs_qinp w150" placeholder="姓名" name="name" value="${hy.name}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">民族:</span>
					<input type="text" class="qygs_qinp w150" placeholder="民族" name="minzu" value="${hy.minzu}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460">
					<span class="leftname float_left">预览:</span>
					<img id="image" src="${ctxPath}/upload${hy.pic}" class="size"/>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w920" id="uploadify">
					<span class="leftname float_left"></span>
					<input type="file"  id="upload"/>
    				<input type="hidden" name="pic" value=""/>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<div class="float_left">
						<span class="leftname float_left">性别:</span>
						<span class="ckarea w40">
							<label><input name="sex" type="radio" class="ckbox_vmiddle" <c:if test="${hy.sex=='男'}"> checked="checked"</c:if> value="男"/>男</label>
						</span>
						<span class="ckarea w40">
							<label><input name="sex" type="radio" class="ckbox_vmiddle" <c:if test="${hy.sex=='女'}"> checked="checked"</c:if> value="女"/>女</label>
						</span>
					</div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">属相:</span>
					<input type="text" class="qygs_qinp w150"  name="shuxiang" value="${hy.shuxiang}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">星座:</span>
					<input type="text" class="qygs_qinp w150"  name="xingzuo" value="${hy.xingzuo}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">出生日期:</span>
					<input type="text" name="thebirthday" class="qygs_qinp w100 textcenter time clearindent" value='<fmt:formatDate value="${hy.birthday}" pattern="yyyy-MM-dd"/>' readonly="readonly" sec="time" />
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">籍贯:</span>
					<input type="text" class="qygs_qinp w150"  name="jiguan" value="${hy.jiguan}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">血型:</span>
					<input type="text" class="qygs_qinp w150"  name="xuexing" value="${hy.xuexing}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">身份证号:</span>
					<input type="text" class="qygs_qinp w250" name="idcard" value="${hy.idcard}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">身高:</span>
					<input type="text" class="qygs_qinp w100"  name="shengao" value="${hy.shengao}"/><span>单位：厘米</span>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">体重:</span>
					<input type="text" class="qygs_qinp w100"  name="tizhong" value="${hy.tizhong}"/><span>单位：千克</span>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">身体状况:</span>
					<input type="text" class="qygs_qinp w300" name="stzk" value="${hy.stzk}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">兴趣爱好:</span>
					<textarea   class="textarea_style1 w300 h100" name="aihao" >${hy.aihao}</textarea>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			 <div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">毕业院校:</span>
					<input type="text" class="qygs_qinp w150"  name="byyx" value="${hy.byyx}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">学历:</span>
					<input type="text" class="qygs_qinp w150" name="xueli" value="${hy.xueli}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">专业:</span>
					<input type="text" class="qygs_qinp w150"  name="zhuanye" value="${hy.zhuanye}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div> 
			<%-- <div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">从事行业属性:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="cshysx" value="${hy.cshysx}">
						
						<option value="行政机关">行政机关</option>
                    	<option value="事业单位">事业单位</option>
						<option value="国企">国企</option>
						<option value="私企">私企</option>
						<option value="个体">个体</option>
						<option value="外企">外企</option>
						<option value="其他">其他</option>
					</select>
					
					
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div> --%>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">工作单位:</span>
					<input type="text" class="qygs_qinp w150"  name="gzdw" value="${hy.gzdw}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">职称:</span>
					<input type="text" class="qygs_qinp w150"  name="zhicheng" value="${hy.zhicheng}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">性格:</span>
					<input type="text" class="qygs_qinp w200"  name="xingge" value="${hy.xingge}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
		
			<div class="mgt20">
				<div class=" float_left" >
					<span class="leftname float_left">家庭住址:</span>
					<input type="text" class="qygs_qinp w500"  name="dizhi" value="${hy.dizhi}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">户口所在地:</span>
					<input type="text" class="qygs_qinp w500"  name="hukou" value="${hy.hukou}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">微信:</span>
					<input type="text" class="qygs_qinp w150"  name="weixin" value="${hy.weixin}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">QQ:</span>
					<input type="text" class="qygs_qinp w150"  name="qq" value="${hy.qq}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">手机:</span>
					<input type="text" class="qygs_qinp w150" name="phone" value="${hy.phone}"/>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			 <div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">婚姻状况:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="hunyin">
						<option value="未婚" <c:if test="${hy.hunyin=='未婚'}"> selected="selected"</c:if>>未婚</option>
						<option value="离异未育" <c:if test="${hy.hunyin=='离异未育'}"> selected="selected"</c:if>>离异未育</option>
						<option value="离异不带孩" <c:if test="${hy.hunyin=='离异不带孩'}"> selected="selected"</c:if>>离异不带孩</option>
						<option value="离异带孩子" <c:if test="${hy.hunyin=='离异带孩子'}"> selected="selected"</c:if>>离异带孩子</option>
						<option value="丧偶带孩子" <c:if test="${hy.hunyin=='丧偶带孩子'}"> selected="selected"</c:if>>丧偶带孩子</option>
						<option value="丧偶不带孩" <c:if test="${hy.hunyin=='丧偶不带孩'}"> selected="selected"</c:if>>丧偶不带孩</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			 <div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">收入情况/月:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="shouru">
						<option value="未填写" <c:if test="${hy.shouru=='未填写'}"> selected="selected"</c:if>>未填写</option>
						<option value="1000以下" <c:if test="${hy.shouru=='1000以下'}"> selected="selected"</c:if>>1000以下</option>
						<option value="1000-2000" <c:if test="${hy.shouru=='1000-2000'}"> selected="selected"</c:if>>1000-2000</option>
						<option value="2000-4000" <c:if test="${hy.shouru=='2000-4000'}"> selected="selected"</c:if>>2000-4000</option>
						<option value="4000-8000" <c:if test="${hy.shouru=='4000-8000'}"> selected="selected"</c:if>>4000-8000</option>
						<option value="8000-20000" <c:if test="${hy.shouru=='8000-20000'}"> selected="selected"</c:if>>8000-20000</option>
						<option value="20000以上" <c:if test="${hy.shouru=='20000以上'}"> selected="selected"</c:if>>20000以上</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div> 
			 <div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">住房情况:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="fangzi">
						<option value="未填写" <c:if test="${hy.fangzi=='未填写'}"> selected="selected"</c:if>>未填写</option>
						<option value="有" <c:if test="${hy.fangzi=='有'}"> selected="selected"</c:if>>有</option>
						<option value="无" <c:if test="${hy.fangzi=='无'}"> selected="selected"</c:if>>无</option>
						<option value="准备买" <c:if test="${hy.fangzi=='准备买'}"> selected="selected"</c:if>>准备买</option>
						<option value="与家人同住" <c:if test="${hy.fangzi=='与家人同住'}"> selected="selected"</c:if>>与家人同住</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div> 
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">房贷情况:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="fangdai">
					<option value="未填写" <c:if test="${hy.fangdai=='未填写'}"> selected="selected"</c:if>>未填写</option>
					<option value="无房贷" <c:if test="${hy.fangdai=='无房贷'}"> selected="selected"</c:if>>无房贷</option>
					<option value="贷款中" <c:if test="${hy.fangdai=='贷款中'}"> selected="selected"</c:if>>贷款中</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">私家车:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="chezi">
					<option value="未填写" <c:if test="${hy.chezi=='未填写'}"> selected="selected"</c:if>>未填写</option>
					<option value="有" <c:if test="${hy.chezi=='有'}"> selected="selected"</c:if>>有</option>
					<option value="无" <c:if test="${hy.chezi=='无'}"> selected="selected"</c:if>>无</option>
					<option value="准备买" <c:if test="${hy.chezi=='准备买'}"> selected="selected"</c:if>>准备买</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div> 
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">存款情况:</span>
					<input type="text" class="qygs_qinp w250"  name="cunkuan"  value="${hy.cunkuan}" />
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<span class="leftname float_left">信息来源/介绍人姓名:</span>
					<input type="text" class="qygs_qinp w250"  name="jieshaoren"  value="${hy.jieshaoren}" />
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<div class=" float_left " >
					<div class="float_left w500">
						<span class="leftname float_left">会员活动:</span>
						<span class="float_left w350">
							<span class="ckarea w100">
								<label><input name="huodong" value="户外拓展" type="checkbox" ${huodong1} class="ckbox_vmiddle"/>户外拓展</label>
							</span>
							<span class="ckarea w100">
								<label><input name="huodong" value="小型室内聚会" type="checkbox" ${huodong2} class="ckbox_vmiddle" />小型室内聚会</label>
							</span>
							<span class="ckarea w100">
								<label><input name="huodong" value="大型社交活动" type="checkbox" ${huodong3} class="ckbox_vmiddle" />大型社交活动</label>
							</span>
							<span class="ckarea w100">
								<label><input name="huodong" value="私人定制活动" type="checkbox" ${huodong4} class="ckbox_vmiddle"/>私人定制活动</label>
							</span>
						</span>
						<div class="clearboth"></div>
					</div>
				</div>
				<div class="clearboth"></div>
			</div>
			
			<div class="mgt20">
				<div class=" float_left w460" >
					<div class="float_left">
						<span class="leftname float_left">来喜媛会目的:</span>
						<span class="ckarea w40">
							<label><input  type="radio" class="ckbox_vmiddle" <c:if test="${hy.mudi=='结婚'}">checked="checked"</c:if> name="mudi"  value="结婚"/>结婚</label>
						</span>
						<span class="ckarea w40">
							<label><input  type="radio" class="ckbox_vmiddle" <c:if test="${hy.mudi=='交友'}">checked="checked"</c:if> name="mudi"  value="交友"/>交友</label>
						</span>
					</div>
				</div>
				<div class="clearboth"></div>
			</div>
			

	<div class="mgt20"></div>
			<div class="rstop widthall commontitle"><a class="tappage">会员备注</a></div>
			
			<div class="mgt20">
				<div class=" float_left" >
					<span class="leftname float_left">会员评分:</span>
					<input type="text" class="qygs_qinp w200" placeholder="评分" name="fenshu" value="${hy.fenshu}"/>（1-100分为界）
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">会员级别:</span>
					<select class="selbea2 qygs_qinp float_left width196" name="jibie">
						<option value="普通会员(288)" <c:if test="${hy.jibie=='普通会员(288)'}"> selected="selected"</c:if>>普通会员(288)</option>
						<option value="白银会员(588)" <c:if test="${hy.jibie=='白银会员(588)'}"> selected="selected"</c:if>>白银会员(588)</option>
						<option value="黄金会员(888)" <c:if test="${hy.jibie=='黄金会员(888)'}"> selected="selected"</c:if>>黄金会员(888)</option>
						<option value="钻石会员(1288)" <c:if test="${hy.jibie=='钻石会员(1288)'}"> selected="selected"</c:if>>钻石会员(1288)</option>
						<option value="超级VIP会员(1888)" <c:if test="${hy.jibie=='超级VIP会员(1888)'}"> selected="selected"</c:if>>超级VIP会员(1888)</option>
					</select>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			
			<div class="mgt20">
				<div class=" float_left w460" >
					<span class="leftname float_left">到期时间:</span>
					<%-- <input type="text" name="lastday" class="qygs_qinp w100 textcenter time clearindent" value='<fmt:formatDate value="${hy.deadline}" pattern="yyyy-MM-dd"/>' readonly="readonly" sec="time" /> --%>
					<input type="text" name="lastday" class="qygs_qinp w150" placeholder="日期" value='<fmt:formatDate value="${hy.deadline}" pattern="yyyy-MM-dd"/>'/>
					<span id="lastday_p"></span>
					<div class="clearboth"></div>
				</div>
				<div class="clearboth"></div>
			</div>
			<div class="mgt20">
				<input type="submit" class="querybtn mgl90" value="保存修改"/>
			</div>
			</form>
		</div>
	</div>

	<div class="mainbottom mgt20"></div>
</div>
<div class="clearboth"></div>
<%@ include file="/WEB-INF/jsp/basic/foot.jsp" %>
</html>